package com.upcontrol.uartagent.entity;

import com.csjbot.snowbot_rogue.utils.NetDataTypeTransform;

/**
 * Created by zouyh on 2017/5/23.
 */
public class RespSelfCheckPacket extends UartPacket {
    private int hwStatus = 0;

    @Override
    public byte[] getContent() {
        return new byte[0];
    }

    @Override
    public void setContent(byte[] content) {
        hwStatus = NetDataTypeTransform.bytesToInt2(content, 0);
    }

    public int getHardWareState() {
        return hwStatus;
    }
}
